<?php echo $breadcrumb; ?>
<style>
    .GridTableFilter select{padding: 3px;}
    .GridTableFilter input[type=text]{padding: 5px 4px 4px 4px !important;}
    .GridTableFilter input[type=submit]{padding: 5px 4px 4px 20px !important; width:50px}
</style>
<div id="content">
    <div class="DivTable">
        <form name="fCari" id="fCari" action="" method="get" >
            <table class="GridTableFilter">
                <?php echo $filter_panel->drawfilterpanel(); ?>
                <tr>
                    <td>
                        <?php
                        echo $filter_panel->drawfilterpanelsingle();
                        ?>
                    </td>
                </tr>
            </table>
        </form>
    </div>
    <?php echo $this->datagrid->render(); ?>
    <br class="bersih" />
</div>
<script type="text/javascript">

    jQuery(document).ready(function(){
        jQuery(".tr_slide").hide();

        jQuery('.search').click(
            function(){
                jQuery(".tr_slide").slideToggle();
            }
        );
    });
	
    function remove(kode)
    {
        if(confirm('Anda yakin akan menghapus grup ini?')) {
            return GB_showCenter('Menghapus User Group', '<?php echo base_url() ?>index.php/management/user_group_delete/' + kode + '/', 500, 850);
        }
    }

    function edit(kode)
    {
        GB_showCenter('Edit Group User', '<?php echo base_url() ?>index.php/management/user_group_edit/'+ kode, 600, 950);
    }
    
    function add()
    {
        GB_showCenter('Tambah Group User', '<?php echo base_url() ?>index.php/management/user_group_add/', 600, 950);
        
        jQuery(".close").click(function(){
            <?php echo CloseGB(true); ?>
        })
    }

    function detil(kode)
    {
        return GB_showCenter('Data Detil Biller', '<?php echo base_url() ?>index.php/management/user_group_detail/'+ kode, 600, 950);
    }
</script>
